<?php

class Ext_Account
{
    public $username;
    public $email;

    public function __construct($userId)
    {
        $adapter = new Ext_Account_Adapter($userId);
        
        $this->username = $adapter->username;
        $this->email    = $adapter->email;
    }
}
